package com.example.yoho.mvp.contract;

import com.example.lib_core.mvp.model.IModel;
import com.example.lib_core.mvp.view.IView;
import com.example.yoho.mvp.model.entity.StrlloListEntity;
import com.example.yoho.mvp.model.entity.StrlloSortEntity;

import io.reactivex.Observable;

public interface StrlloContract {
    interface Model extends IModel{
        Observable<StrlloSortEntity> strlloSortModel(String request);
        Observable<StrlloListEntity> strlloListModel(String request);
    }
    interface View extends IView{
            void showStrlloSort(StrlloSortEntity strlloSortEntity);
            void showStrolloList(StrlloListEntity strlloListEntity);
    }
}
